﻿@model Test.Entities.Location

@section TitleContent {
Control Panel
}

	<h2>Location Management</h2>

	<fieldset>
		<legend>Location</legend>
		
		@Html.HiddenFor(model => model.OwnerId)
		@Html.HiddenFor(model => model.ParentId)

		<div class="display-label">Name</div>
		<div class="display-field">
			@Html.DisplayFor(model => model.Name)
		</div>

		<div class="display-label">DateCreated</div>
		<div class="display-field">
			@Html.DisplayFor(model => model.DateCreated)
		</div>

		<div class="display-label">DateUpdated</div>
		<div class="display-field">
			@Html.DisplayFor(model => model.DateUpdated)
		</div>
	</fieldset>
	<p>
		@Html.ActionLink("Edit", "Edit", new { id = Model.Id }) |
		@Html.ActionLink("Back to List", "Index")
	</p>